//3_9
// factorial 0 numbers of end
#include<iostream>
int factorial( int );
int n_count( int );

int main()
{
	int n = 0;
	std::cout << "Enter number :";
	std::cin >> n;
	std::cout << " 0 number of end count is: " <<n_count( factorial(n) ) << std::endl;
	return 0;
}
int factorial( int fact )
{
	int f = 1;
	for( int i = fact ; i >=  1; i--)
	{
		f *= i;
      }
return f;
}
int n_count( int n )
{
int count = 0;
	while( 0 == n % 10 )
	{
	++count;
	n = n / 10;
	}
	return count;
}